/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2019-02-13 Time: 23:07
 */

import {Action} from "../../../../configuration/ActionCreator"
import {requestGetDs} from "../../../../request/DepartmentalRepairOrderRequest"

/**
 * 获取数据
 * @str {string}
 * @page {int}页数
 */
export const IMOrder = 'IMOrder';
export const getIMOrderDs = (str,page) => {
    let action = Action(IMOrder);
    return dispatch => dispatch(requestGetDs(action, str,page))
}


